import request from '@/utils/request'

export default {
  // //获取数据
  getTracingList(searchModel){
    return request({
      url:'/tracing/list',
      method:'get',
      params: {
        pageNum: searchModel.pageNum,
        pageSize: searchModel.pageSize,
        serialNumber: searchModel.serialNumber,//流水号
        completionNumber: searchModel.completionNumber,//完工单号completionNumber
        schemeNo: searchModel.schemeNo,//计划编号
        workmanship: searchModel.workmanship,//作业名称
        inspectionBatch: searchModel.inspectionBatch,//检验批次inspectionBatch
        productTime: searchModel.productTime,//生产日期
        project: searchModel.project,//检验项
        result: searchModel.result,//检验结果下拉选项
        surveyor: searchModel.surveyor,//检验人surveyor
        testTime: searchModel.testTime,//检验时间
        BeginTime: searchModel.startTime,
        EndTime: searchModel.endTime,
        KsTime: searchModel.ksTime,
        JsTime: searchModel.jsTime,
      }
    })
  },
}
